package bookstore.database.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Customer entity. @author MyEclipse Persistence Tools
 */

public class Customer implements java.io.Serializable {

	// Fields

	private Integer customerId;
	private String customerName;
	private String password;
	private String email;
	private Set applies = new HashSet(0);
	private Set messages = new HashSet(0);
	private Set customerAddrs = new HashSet(0);
	private Set buyTables = new HashSet(0);
	private Set sellers = new HashSet(0);
	private Set modifyPwds = new HashSet(0);
	private Set remarks = new HashSet(0);
	private Set orderses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Customer() {
	}

	/** minimal constructor */
	public Customer(Integer customerId, String customerName,
			String password, String email) {
		this.customerId = customerId;
		this.customerName = customerName;
		this.password = password;
		this.email = email;
	}

	/** full constructor */
	public Customer(Integer customerId, String customerName,
			String password, String email, Set applies, Set messages,
			Set customerAddrs, Set buyTables, Set sellers, Set modifyPwds,
			Set remarks, Set orderses) {
		this.customerId = customerId;
		this.customerName = customerName;
		this.password = password;
		this.email = email;
		this.applies = applies;
		this.messages = messages;
		this.customerAddrs = customerAddrs;
		this.buyTables = buyTables;
		this.sellers = sellers;
		this.modifyPwds = modifyPwds;
		this.remarks = remarks;
		this.orderses = orderses;
	}

	// Property accessors

	public Integer getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public String getCustomerName() {
		return this.customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Set getApplies() {
		return this.applies;
	}

	public void setApplies(Set applies) {
		this.applies = applies;
	}

	public Set getMessages() {
		return this.messages;
	}

	public void setMessages(Set messages) {
		this.messages = messages;
	}

	public Set getCustomerAddrs() {
		return this.customerAddrs;
	}

	public void setCustomerAddrs(Set customerAddrs) {
		this.customerAddrs = customerAddrs;
	}

	public Set getBuyTables() {
		return this.buyTables;
	}

	public void setBuyTables(Set buyTables) {
		this.buyTables = buyTables;
	}

	public Set getSellers() {
		return this.sellers;
	}

	public void setSellers(Set sellers) {
		this.sellers = sellers;
	}

	public Set getModifyPwds() {
		return this.modifyPwds;
	}

	public void setModifyPwds(Set modifyPwds) {
		this.modifyPwds = modifyPwds;
	}

	public Set getRemarks() {
		return this.remarks;
	}

	public void setRemarks(Set remarks) {
		this.remarks = remarks;
	}

	public Set getOrderses() {
		return this.orderses;
	}

	public void setOrderses(Set orderses) {
		this.orderses = orderses;
	}

}